$def with (privData)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>$:privData['TITLE']</title>
    <link rel="stylesheet" href="$:privData['SITE_URL']/static/admin/common.css" />
</head>
<body>
<div id="bodyDiv">
<div id="nav">
    <a href="/admin/">首页</a>
    <a href="/admin/news/list">文章管理</a>
    <a href="/admin/logout" onclick="return confirm('确认退出？')">退出</a>
    <a href="/" target="_blank">网站首页</a>
<div style="clear:both;"></div>
</div>


<h2>文章管理 <a href="$makeUrl('/admin/news/add')">添加</a></h2>
<table width="800" border="0" cellspacing="0" cellpadding="1" class="list">
    <tr>
        <th>ID</th>
        <th>标题</th>
        <th>状态</th>
        <th>类别</th>
        <th>管理</th>
    </tr>
    $for i in privData['NEWS_LIST']:
    <tr> 
        <td align="center">$:i['id']</td> 
        <td align="center">$:i['name']</td>
        <td align="center">$:privData['STATUS_LIST'][i['status']] </td>
        <td align="center">$:i['category']</td>
        <td align="center">
            <a href="$makeUrl('/news/show',{'id':i['id']})" >查看</a> |
            <a href="$makeUrl('/admin/news/edit',{'id':i['id']})" >编辑</a> |
            <a href="$makeUrl('/admin/news/delete',{'id':i['id']})" onclick="return confirm('确认删除？')">删除</a>
        </td>
    </tr>
</table>

<nav class="navigation">
    $:privData['PAGE_STRING']
</nav>

<div style="clear: both;"></div>
</div>
</body></html>
